package cn.itcast.dao;

import cn.itcast.domain.Params;
import cn.itcast.domain.Users;

import java.util.List;

/**
 * @author zhangzhuang@123456
 * @DATE 2018/11/7
 * @TIME 11:03
 */
public interface UsersDao {

    List<Users> findAll();

    void addUsers(Users users);

    void updateUser(Users users);

    void deleteUser(Integer id);

    List<Users> findLike(String username);

    int cnum();

    List<Users> findOne(Params params);
}
